Discover how to check event log in windows server 2008, include the articles, news, trends, analysis and practical advice about how to check event log in windows server 2008 on alibabacloud.com
click the Add button, connect to the Backup database server, select the corresponding database; in initialize secondary Database window, select "No, the secondary database is initialized"; In the Copy Files window, enter the path to the backup log file (for example, F:\LogBackup) in the Back Up database server In the Restore Transaction
SQL 2008 log Files account for 23G of hard disk space, and the transaction log has been truncated (Truncate), the actual log content is small, 1G is not, want to release the extra space occupied by the log files.
However, no matter how you shrink (Shrink)
Tags: sem str definition share local network HTTP upgrade TCP/IPSQL 2005 is installed on the work computer, but SQL 2008R2 is installed on the client computer, sometimes it is inconvenient to connect their library debugging. Then installed a SQL2008 R2, during these two problems, the Internet search for a solution, do not install vs SP1, do not uninstall SQL Server 2005 Express tool, only need to modify the registry. Tip Error: An earlier version of
Log cleanup methods under SQL Server 2008 (2011-07-14 10:30:45) Transfer from http://blog.sina.com.cn/s/blog_4bdd3d0b0100wfvq.html
Tags: it
Every time the database log to see the explosion of some big head, so random search a way to get rid of the
RECOVERY full with no_wait GO ALTER database dnname SET RECOVERY full--Also The original full mode GO SQL2005 Empty Delete log: Backup Log dnname with No_log ' Here's dnname is the name of the database you want to shrink, and I'm not going to comment anymore by changing the database name below.
go
dump Transaction dnname with no_log
go use
dnname
DBCC shrinkfile (2)
go sqlserver2000 Compression LogYou can
Tags: run backup file management clears CTI Trunc set DBCC SQL2008 's shrink log due to SQL2008 's optimization of file and log management, the following statements can be run in SQL2005 but have been canceled in SQL2008: (SQL2005) Backuplog dnname withno_logGo
Dump TransactionDnname withno_logGo
UseDnnameDBCCShrinkfile (2)
Go
--------------------------------------------------------------
(SQL2008): In the
Tags: style blog http using io strong file dataEvery time the database log to see the explosion of some big head, so random search a way to get rid of the log, the next big head, and search for half a day, so or write a blog, do not look for a mess.1. Set the database to Simple modeSelect the database you want to shrink, right-click Properties---options, select Simple Mode2. Select tasks, shrink-file3. Sele
also can, 2000 seldom use, haven't tried, just 2008 can use log exploer before, so there is no need to use this method.The following illustrations explain the operation method, as to the principle, does not belong to the scope of this article, and I believe that when the wrong operation, it is estimated that no one will see the principle.Steps: (1), check the re
tail of the log is the last backup file, the Red-box section can be selected here: Now check again: As you can see, the data has been restored successfully. Summary: Usually do not do backup, the problem to shout urgent, this is Gou have to pick up, there are some people like to see the big head of LDF directly deleted, after the problem will not blame Microsoft. The method in this article looks a b
One: System requirements
Database server, name server-dw,windows Server 2003 X64, install SQL Server 2008, the database that needs to be backed up is "jkl_dw".
Backup server, name server
Alterdatabase dnname SET RECOVERY Full--revert to fully mode GOAdvantages: This cleanup log runs short of time, 90GB of log can be cleared in minutes or so, after doing a full backup in minutescan be completed.Cons: But this action is best not to be used frequently, as it will result in system fragmentation. Log and diff backups can be truncated in normal state
Tags: io os on admin SQL window C Windows method1, IP address is not configured correctly:Open the SQL Server Configuration Manager under Microsoft SQL Server 2005 Config tool, select the MSSQLSERVER protocol, and then double-click TCP/IP in the right window to check the configuration in the pop-up window.2, may be caused by the VIA protocol enabled. Here's how t
Often see someone mistakenly deleted data, or misoperation, especially update and delete when there is no add where, and then shouted Dad shouted Niang. Err who can have no, do wrong can understand, but can not indulge, this later, and now first to solve the problem.
In this case, usually do not do backup, or will not come to ask questions. Be calm first, or there will be greater disaster. Until you give up.
Workaround:
For this kind of problem, the main is to retrieve the data before the Mis
Using SQL Server2005 to empty a database can be implemented with the following SQL
Backup Log Dnname with no_log
Go
Dump TRANSACTION dnname with NO_LOG
Go
Use Dnname
DBCC Shrinkfile (2)
Go
However, this stored procedure has been canceled in SQL Server2008, and in 2008 you need to use the following methods to empty the database log
Use [master]
Go
ALTER
1. Home we dozen configuration tools SQL Server Configuration management options are red boxes.
2. Then we to the SQL Server service, the right option state to start as far as possible, the second to third can not start, this does not matter, we just start sqlexpress, on it.
3. Now we modify the Web site configuration, select the options in the SQL
operation method, as to the principle, does not belong to the scope of this article, and I believe that when the wrong operation, it is estimated that no one will see the principle.Steps:(1), check the recovery model of the database,Or use a script check:
SELECT Recovery_model,recovery_model_desc
From sys.databases
WHERE name =' AdventureWorks '
The results are as follows:Ensure that
method.The following illustrations explain the operation method, as to the principle, does not belong to the scope of this article, and I believe that when the wrong operation, it is estimated that no one will see the principle.steps:(1), check the recovery model of the database,Or use a script check: [SQL] view plaincopyprint?
SELECT Recovery_model,recovery_model_desc
From sys.databases
W
SQL 2008 log Files account for 23G of hard disk space, and the transaction log has been truncated (Truncate), the actual log content is small, 1G is not, want to release the extra space occupied by the log files.
However, no matter how you shrink (Shrink)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.